package tech.wenxu.consumerhystrix.fegin;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

/**
 * @author zhaowenxu
 * @date 2020/4/12 0:07
 */
@FeignClient("provider-user")
public interface HelloFeginService {

    @GetMapping("/hello/{name}")
    String hello(@PathVariable("name") String name);
}
